package com.whty.cms.filewps.common.service;

import java.util.List;

/**
 * Created by Administrator on 2019/2/28 0028.
 */
 public interface BaseService<T>  {
  
	 void delete(T record); 
    
     void deleteByExample(Object example);
    
     void deleteByPrimaryKey(Object key);
    
     void insert(T record);
    
     void insertList(List<T> recordList);
    
     List<T> select(T record);
    
     List<T> selectAll();
    
     List<T> selectByExample(Object example);
    
     T selectByPrimaryKey(Object key);
    
     T selectOne(T record);
    
     T selectOneByExample(Object example);
    
     void updateByPrimaryKey(T record);
    
     void updateByExample(T record, Object example);
}

